package com.ruoyi.net.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 网元-BGP协议-BGP对等体配置对象 element_bgp_equal
 * 
 * @author net
 * @date 2024-11-17
 */
public class ElementBgpEqual extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 网元id */
    @Excel(name = "网元id")
    private String elementId;

    /** 本地AS号 */
    @Excel(name = "本地AS号")
    private String asId;

    /** 对等体ID */
    @Excel(name = "对等体ID")
    private String peerId;

    /** 对等体AS号 */
    @Excel(name = "对等体AS号")
    private String peerAsId;

    /** 更新源地址 */
    @Excel(name = "更新源地址")
    private String sourceAddr;

    /** EBGP最大跳数 */
    @Excel(name = "EBGP最大跳数")
    private String ebgp;

    /** 关闭邻居 */
    @Excel(name = "关闭邻居")
    private String closeNeighb;

    /** 路由通告时间间隔（秒） */
    @Excel(name = "路由通告时间间隔", readConverterExp = "秒=")
    private String routeNoticeInterval;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    private String status;

    /** 删除标记（0正常 2删除） */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setElementId(String elementId) 
    {
        this.elementId = elementId;
    }

    public String getElementId() 
    {
        return elementId;
    }
    public void setAsId(String asId) 
    {
        this.asId = asId;
    }

    public String getAsId() 
    {
        return asId;
    }
    public void setPeerId(String peerId) 
    {
        this.peerId = peerId;
    }

    public String getPeerId() 
    {
        return peerId;
    }
    public void setPeerAsId(String peerAsId) 
    {
        this.peerAsId = peerAsId;
    }

    public String getPeerAsId() 
    {
        return peerAsId;
    }
    public void setSourceAddr(String sourceAddr) 
    {
        this.sourceAddr = sourceAddr;
    }

    public String getSourceAddr() 
    {
        return sourceAddr;
    }
    public void setEbgp(String ebgp) 
    {
        this.ebgp = ebgp;
    }

    public String getEbgp() 
    {
        return ebgp;
    }
    public void setCloseNeighb(String closeNeighb) 
    {
        this.closeNeighb = closeNeighb;
    }

    public String getCloseNeighb() 
    {
        return closeNeighb;
    }
    public void setRouteNoticeInterval(String routeNoticeInterval) 
    {
        this.routeNoticeInterval = routeNoticeInterval;
    }

    public String getRouteNoticeInterval() 
    {
        return routeNoticeInterval;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("elementId", getElementId())
            .append("asId", getAsId())
            .append("peerId", getPeerId())
            .append("peerAsId", getPeerAsId())
            .append("sourceAddr", getSourceAddr())
            .append("ebgp", getEbgp())
            .append("closeNeighb", getCloseNeighb())
            .append("routeNoticeInterval", getRouteNoticeInterval())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
